package com.ty.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

@Data
@TableName("b_order_addr")
public class OrderAddr {
    @TableId(value = "order_addr_id",type = IdType.AUTO)
    @ApiModelProperty(name = "订单地址id",notes = "")
    private Integer orderAddrId ;
    /** 创建时间 */
    @TableField(exist = false)
    @ApiModelProperty(name = "创建时间",notes = "")
    private Date createTime ;
    /** 更新时间 */
    @TableField(exist = false)
    @ApiModelProperty(name = "更新时间",notes = "")
    private Date updateTime ;
    /** 用户ID */
    @ApiModelProperty(name = "用户ID",notes = "")
    private Integer userId ;
    /** 收货人 */
    @ApiModelProperty(name = "收货人",notes = "")
    private String consignee ;
    /** 省ID */
    @ApiModelProperty(name = "省ID",notes = "")
    private Integer provinceId ;
    /** 省 */
    @ApiModelProperty(name = "省",notes = "")
    private String province ;
    /** 城市ID */
    @ApiModelProperty(name = "城市ID",notes = "")
    private Integer cityId ;
    /** 城市 */
    @ApiModelProperty(name = "城市",notes = "")
    private String city ;
    /** 区域ID */
    @ApiModelProperty(name = "区域ID",notes = "")
    private Integer areaId ;
    /** 区 */
    @ApiModelProperty(name = "区",notes = "")
    private String area ;
    /** 地址 */
    @ApiModelProperty(name = "地址",notes = "")
    private String addr ;
    /** 邮编 */
    @ApiModelProperty(name = "邮编",notes = "")
    private String postCode ;
    /** 手机 */
    @ApiModelProperty(name = "手机",notes = "")
    private String mobile ;
    /** 经度 */
    @ApiModelProperty(name = "经度",notes = "")
    private Double lng ;
    /** 纬度 */
    @ApiModelProperty(name = "纬度",notes = "")
    private Double lat ;

}
